package cn.wangdian.erp.sdk.api.process;

import cn.wangdian.erp.sdk.api.process.dto.BomSearchResponse;
import cn.wangdian.erp.sdk.api.process.dto.BomUploadRequest;
import cn.wangdian.erp.sdk.api.process.dto.BomUploadResponse;
import cn.wangdian.erp.sdk.api.process.dto.ProcessSearchRequest;
import cn.wangdian.erp.sdk.Pager;
import cn.wangdian.erp.sdk.WdtErpException;
import cn.wangdian.erp.sdk.api.process.dto.BomSearchRequest;
import cn.wangdian.erp.sdk.api.process.dto.ProcessSearchResponse;
import cn.wangdian.erp.sdk.api.process.dto.ProcessUploadRequest;
import cn.wangdian.erp.sdk.api.process.dto.ProcessUploadResponse;
import cn.wangdian.erp.sdk.impl.Api;

public interface ProcessAPI
{
	@Api(value = "process.Bom.upload")
    BomUploadResponse uploadBom(BomUploadRequest request) throws WdtErpException;

	@Api(value = "process.Process.search", paged = true)
	ProcessSearchResponse searchProcess(ProcessSearchRequest request, Pager pager) throws WdtErpException;

	@Api(value = "process.Process.upload")
	ProcessUploadResponse uploadProcess(ProcessUploadRequest request) throws WdtErpException;

	@Api(value = "process.Bom.search", paged = true)
    BomSearchResponse searchBom(BomSearchRequest request, Pager pager) throws WdtErpException;
}
